#ifndef __MONITOR_MONITOR_H__
#define __MONITOR_MONITOR_H__
/*
	Monitor application

	Part of the as-yet-unnamed MC68010 operating system


	(c) Stuart Wallace, 2011.
*/

#include "stdlib.h"

#include "command.h"
#include "commands.h"
#include "readline.h"

#define MON_VERB_MAX_LENGTH		(16)	/* maximum length of the "verb", i.e. the first word in a
										   command line */
#define MON_MAX_ARGS			(8)		/* maximum number of arguments that may be passed to a
										   command */
#define MON_MAX_ARG_LENGTH		(255)	/* maximum length of any individual argument */


void monitor(void);
void monitor_main(void);
void dispatch_command(const char *cmdline);


#endif

